import request from '@/utils/request'

// 添加/修改-用户个性设置数据API（post）/company/privateSet/adupPrivateSet
export const adupPrivateSet = (data) => request.post('/company/privateSet/adupPrivateSet', data)

// 获取-用户个性设置数据列表API（post）/company/privateSet/getPrivateSetList
export const getPrivateSetList = (data) => request.post('/company/privateSet/getPrivateSetList', data)

// 获取金额类型分页数据（/company/sysManage/getMoneyTypeList）
export const getMoneyTypeList = (data) => request.post('/company/sysManage/getMoneyTypeList', data)

// 单位添加金额类型API（post）/company/sysManage/addMtype
export const addMtype = (data) => request.post('/company/sysManage/addMtype', data)

// 单位修改金额类型 API（post）/company/sysManage/modifyMtype
export const modifyMtype = (data) => request.post('/company/sysManage/modifyMtype', data)

// 单位删除金额类型(/company/sysManage/delMtype)
export const delMtype = (data) => request.post('/company/sysManage/delMtype', data)

// 获取-客户类型列表-分页/company/sysManage/getCustomTypeList
export const getCustomTypeList = (data) => request.post('/company/sysManage/getCustomTypeList', data)

// 添加/修改客户类型/company/sysManage/adupCusType
export const adupCusType = (data) => request.post('/company/sysManage/adupCusType', data)

// 单位删除客户类型/company/sysManage/delCusType
export const delCusType = (data) => request.post('/company/sysManage/delCusType', data)

// 获取-单位请假类型列表/company/sysManage/getLeaveTypeList
export const getLeaveTypeList = (data) => request.post('/company/sysManage/getLeaveTypeList', data)

// 添加/修改-请假类型/company/sysManage/adupLeaveType
export const adupLeaveType = (data) => request.post('/company/sysManage/adupLeaveType', data)

// 删除-单位指定请假类型/company/sysManage/delLeaveType
export const delLeaveType = (data) => request.post('/company/sysManage/delLeaveType', data)

// 获取-所有单位部门-列表/company/menu/findAllDeptList
export const findAllDeptList = (data) => request.post('/company/menu/findAllDeptList', data)

// 添加/修改-单位部门/company/menu/adupDept
export const adupDept = (data) => request.post('/company/menu/adupDept', data)

// 删除-单位部门/company/menu/delDept
export const delDept = (data) => request.post('/company/menu/delDept', data)

// 获取-单位部门角色-列表/company/menu/getRoleList
export const getRoleList = (data) => request.post('/company/menu/getRoleList', data)

//获取员工分页列表（/company/staff/getStaffPages）
export const getStaffPages = (data) => request.post('/company/staff/getStaffPages', data)

//添加/修改-单位角色/company/menu/adupRole
export const adupRole = (data) => request.post('/company/menu/adupRole', data)

//删除-单位角色/company/menu/delRole
export const delRole = (data) => request.post('/company/menu/delRole', data)

// 获取员工分页列表/company/staffCenter/findStaffList
export const findStaffList = (data) => request.post('/company/staffCenter/findStaffList', data)



// 获取-报账类型列表-分页API（post）/company/sysManage/getReimburseTypeList
export const getReimburseTypeList = (data) => request.post('/company/sysManage/getReimburseTypeList', data)

// 单位添加报账类型/company/sysManage/addReimType
export const addReimType = (data) => request.post('/company/sysManage/addReimType', data)

// 单位修改报账类型/company/sysManage/modifyReimType
export const modifyReimType = (data) => request.post('/company/sysManage/modifyReimType', data)

// 单位删除报账类型/company/sysManage/delReimType
export const delReimType = (data) => request.post('/company/sysManage/delReimType', data)

// 获取金额类型下拉框（/company/sysManage/findMtypeCombo）
export const findMtypeCombo = (data) => request.post('/company/sysManage/findMtypeCombo', data)





// 获取-维修类型列表-分页/company/sysManage/getRepairTypeList
export const getRepairTypeList = (data) => request.post('/company/sysManage/getRepairTypeList', data)

// 添加/修改维修类型/company/sysManage/adupCusType
export const adupRepairType = (data) => request.post('/company/sysManage/adupRepairType', data)

// 单位删除维修类型/company/sysManage/delRepairType
export const delRepairType = (data) => request.post('/company/sysManage/delRepairType', data)

// 获取-单位指定用户所有菜单-列表（标注当前用户在父级内拥有的菜单，即选中）/company/menu/getUserAllMenuList
export const getUserAllMenuList = (data) => request.post('/company/menu/getUserAllMenuList', data)

// 获取-单位指定角色所有菜单-列表（标注当前角色在父级内拥有的菜单，即选中）：/company/menu/getRoleAllMenuList
export const getRoleAllMenuList = (data) => request.post('/company/menu/getRoleAllMenuList', data)

// 添加-单位用户菜单关联
export const addUserMenu = (data) => request.post('/company/menu/addUserMenu', data)

// 添加-角色菜单关联/company/menu/addUserRole
export const addRoleMenu = (data) => request.post('/company/menu/addRoleMenu', data)

// /company/sysManage/getSfcPriceTemplatesPages获取顺风车价格模板设置列表（/back/sfcPriceTemplates/getSfcPriceTemplatesPages）
export const getSfcPriceTemplatesPages = (data) => request.post('/company/sysManage/getSfcPriceTemplatesPages', data)

// /company/sysManage/adupSfcPriceTemplates添加/修改顺风车价格模板设置（/back/sfcPriceTemplates/adupSfcPriceTemplates）

export const adupSfcPriceTemplates = (data) => request.post('/company/sysManage/adupSfcPriceTemplates', data)
// 删除顺风车价格模板设置（基础模板的设置不能删除）（/back/sfcPriceTemplates/delSfcPriceTemplates）

export const delSfcPriceTemplates = (data) => request.post('/company/sysManage/delSfcPriceTemplates', data)




// 获取车辆配置（/back/sfcPriceTemplates/getCarConfigurationType）
export const getCarConfigurationType = (data) => request.post('/common/getCarConfigurationType', data)


// 获取价格模板名称下拉框
export const findTemplatesInfoNameCombo = (data) => request.post('/back/templatesInfo/findTemplatesInfoNameCombo', data)

// 获取系统地点分页列表（/back/stationList/getStationListPages）
export const getStationListPages = (data) => request.post('/back/stationList/getStationListPages', data)

// 获取区域设置列表（/back/areaSet/getAreaSetList）
export const getAreaSetList = (data) => request.post('/back/areaSet/getAreaSetList', data)

// 获取常用地址分页列表（/company/serviceCenter/getCompanyStationListPages）
export const getCompanyStationListPages = (data) => request.post('/company/serviceCenter/getCompanyStationListPages', data)

// 添加/修改常用地址（/company/serviceCenter/adupStationList）
export const adupStationList = (data) => request.post('/company/serviceCenter/adupStationList', data)

// 删除常用地址（/company/serviceCenter/delStationList）
export const delStationList = (data) => request.post('/company/serviceCenter/delStationList', data)

// 获取常用地址分页列表
export const useCargetCompanyStationListPages = (data) => request.post('/useCar/serviceCenter/getCompanyStationListPages', data)

// 添加/修改常用地址
export const useCaradupStationLis = (data) => request.post('/useCar/serviceCenter/adupStationList', data)

// 删除常用地址
export const useCardelStationList = (data) => request.post('/useCar/serviceCenter/delStationList', data)

// 获取-工资设置列表-分页/company/sysManage/findSalarySetList
export const findSalarySetList = (data) => request.post('/company/sysManage/findSalarySetList', data)

// 添加/修改工资设置/company/sysManage/adupSalarySet
export const adupSalarySet = (data) => request.post('/company/sysManage/adupSalarySet', data)

// 单位删除工资设置/company/sysManage/delSalarySet
export const delSalarySet = (data) => request.post('/company/sysManage/delSalarySet', data)

//获取包车价格模板设置列表（/company/sysManage/getBcPriceTemplatesPages）
export const getBcPriceTemplatesPages = (data) => request.post('/company/sysManage/getBcPriceTemplatesPages', data)

//添加/修改包车价格模板设置（/company/sysManage/adupBcPriceTemplates）
export const adupBcPriceTemplates = (data) => request.post('/company/sysManage/adupBcPriceTemplates', data)

//删除包车价格模板设置（基础模板的设置不能删除）（/company/sysManage/delBcPriceTemplates）
export const delBcPriceTemplates = (data) => request.post('/company/sysManage/delBcPriceTemplates', data)

//获取单位-下拉框（/back/company/getCompanyCombo）
export const getCompanyCombo = (data) => request.post('/back/company/getCompanyCombo', data)

//获取包车利润设置列表（/company/sysManage/getBcProfitSetPages）
export const getBcProfitSetPages = (data) => request.post('/company/sysManage/getBcProfitSetPages', data)

//添加修改包车利润设置（/company/sysManage/adupBcProfitSet）
export const adupBcProfitSet = (data) => request.post('/company/sysManage/adupBcProfitSet', data)

//删除包车利润设置（/company/sysManage/delBcProfitSet）
export const delBcProfitSet = (data) => request.post('/company/sysManage/delBcProfitSet', data)
